home *** CD-ROM | disk | FTP | other *** search
- Path: hpcvsnz.cv.hp.com!news
- From: "Khile T. Klock" <klockk@wsadmin2.cv.hp.com>
- Newsgroups: comp.lang.cobol,comp.lang.perl,comp.lang.perl.misc,comp.lang.c
- Subject: COBOL <->Perl Interface...
- Date: Thu, 04 Jan 1996 11:24:45 -0800
- Organization: Hewlett-Packard Co., Ink-Jet Business Unit, Corvallis, OR.
- Message-ID: <30EC297D.5579@wsadmin2.cv.hp.com>
- NNTP-Posting-Host: wsadmin2.cv.hp.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b3 (X11; I; HP-UX A.09.05 9000/715)
- CC: jeff_okamoto@corp.hp.com
-
- Howdy ho!
-
- I got a rather interesting question I am trying to find the answer to.
-
- We have a rather large software package running here that is written in COBOL. This program
- as an overlaying user interface that is now written in C', creating an X-windows interface.
-
- This software allows for user specified code to be input/compiled into certain points of it...
-
- I've written a nice X-Type GUI interface for one of these user exits, written in perl5 w/Tk Exntentions.
-
- Now the fun starts.. How to paste it all together.. I have information I need to compile C' code into
- the COBOL, and have things work, but I really need to get the COBOL program variables/data into
- the Perl program I've written.. I get this stuff into C with no problem.. So right now I'm thinking of
- passing the stuff to a C' program via CALL "user_c" USING BLA-PARAMETER-LIST.
- then having the C' code call perl to do it's stuff...
-
- Is there a simply way to just pass data between perl and COBOL instead???
-
- If Not... The question needs to be answered in the PERL groups... How can I access these variables
- from PERL... Is there an easy way to simply access the C' .h data structures from perl with out the need
- of C', or do I have the paste all three of these together...
-
- Hope this makes sense....
-
-
- Thanx'
- Khile Klock
- --
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Khile T. Klock | klockk@wsadmin2.cv.hp.com
- Software (CIM) Technician | klockk@hpcvif10.cv.hp.com
- WorkStream Support | klockk@hpcvsgen.cv.hp.com
- Hewlett Packard | klockk@hotlin.fidonet.org
- InkJet Business Unit | hotline@proaxis.com
- Corvallis, Oregon | (http://www.proaxis.com/~hotline)
- ---------------------------------+-----------------------------------
- Phone: (503) 715-1466 Pager: (503) 924-5575
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-